WooCommerce\Square\Gateway\Digital_Wallet D

Total Complexity 171
Dependencies 10
Dependents 1
Total lines 1,027
Lines of code 608
Logical lines of code 317
Comment lines 267
Methods 30
Properties 3

Methods 30

Method Rating Maintainability Complexity Lines of code
get_product_payment_request()
A
43 13 44
apple_pay_domain_registration()
A
50 12 25
ajax_recalculate_totals()
A
41 9 58
allowed_for_product_page()
A
52 11 22
register_apple_pay_domain()
A
47 9 33
allowed_for_cart()
A
56 10 15
build_payment_request_line_items()
A
45 8 43
ajax_get_payment_request()
A
52 9 21
check_apple_pay_verification_file()
S
51 7 27
build_payment_request()
S
47 6 34
is_available_for_page()
S
60 7 12
calculate_shipping()
S
48 5 32
get_payment_request_for_context()
S
58 6 16
admin_notices()
S
50 5 31
get_current_page()
S
64 7 8
__construct()
S
57 6 15
ajax_add_to_cart()
S
54 5 18
enqueue_scripts()
S
47 4 33
init()
S
60 4 13
render_button()
S
51 3 27
get_hidden_button_options()
S
67 4 7
is_available()
S
70 4 6
get_option_is_apple_pay_enabled()
S
69 3 6
ajax_process_checkout()
S
64 3 10
update_shipping_method()
S
65 3 9
get_cart_totals()
S
61 2 12
is_digital_wallet_enabled()
S
78 2 3
apple_pay_verification_file_location()
S
76 2 3
supported_product_types()
S
62 1 14
get_available_pages()
S
65 1 11